package cn.minsh.lims.eoms.modules.app.controller.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author Administrator
 */
@Data
@ApiModel("保养计划")
public class MaintenancePlanListRes {

    @ApiModelProperty("记录id")
    private Long id ;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime ;
    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime ;
    @ApiModelProperty("计划状态:1未开始,2进行中,3已结束")
    private Integer status ;
    @ApiModelProperty("保养计划名称")
    private String name ;
    @ApiModelProperty("保养范围，范围id(Long)列表")
    private List<Long> scopeIdList ;
    @ApiModelProperty("保养类型:校准、检定等(字典维护)")
    private Integer level ;
    @ApiModelProperty("巡检频率：1每日2每周3每月4每年")
    private Integer frequency ;
    @ApiModelProperty("首次保养时间")
    private String firstDateStr ;
    @ApiModelProperty("发起人")
    private Long createBy ;
    @ApiModelProperty("经办人")
    private Long agentId ;
    @ApiModelProperty("保养失效时间")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm")
    private Date invalidTime ;

    @ApiModelProperty("保养内容，字符串列表")
    private List<String> contentList ;
    @ApiModelProperty("保养提醒,数字型列表")
    private List<Integer> remindList ;

}
